package com.cinc.mdm.modules.factory.model;

import com.cinc.mdm.modules.factory.entity.MdmFactory;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.common.system.vo.SysDepartModel;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 公司部门工厂树
 *
 * @author star
 * @date 2021/12/26 20:25
 */
@Data
public class FactoryTreeModel implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("公司/部门/工厂ID")
    private String id;

    @ApiModelProperty("类型：1公司 2部门 3工厂")
    private String type;

    @ApiModelProperty("编码")
    private String code;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("电话")
    private String tel;

    @ApiModelProperty("地址")
    private String address;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("子记录")
    private List<FactoryTreeModel> children;

}
